sort list of dictionaries python by value

119

python sort array of dictionary by value -

my_list = sorted(my_list, key=lambda k: k['name'])

Comments

Submit
0 Comments